#include "threadpool.h"
#include "epoll_server.h"
#include "threadpool_exec_task.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <stdbool.h>

int main(int argc, char const *argv[])
{
    // 创建线程池
    ThreadPool *pool = thread_pool_create(25);
    if (pool == NULL)
        return -1;

    // 创建任务
    epoll_server_task(pool);

    // 销毁线程池
    thread_pool_destroy(pool);

    return 0;
}
